package com.dragon.design.pattern.creational.singleton;

/**
 * 测试线程
 *
 * @author dragon
 * @version V1.0.0-RELEASE
 * @date 2019/5/15 18:39
 */
public class LazySingletonThread implements Runnable {
    @Override
    public void run() {
        LazySingleton instance = LazySingleton.getInstance();
        System.out.println(Thread.currentThread().getName() + "  " + instance);
    }
}
